package com.wdc.mapper;

import com.wdc.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 用户 Mapper 接口
 * </p>
 *
 * @author wdc
 * @since 2024-06-06
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {


    /**
     * login
     * @param username
     */
    @Select("select * from wdc.user where username=#{username}")
    User  selectByUsername(String username);
}
